package com.von.enums;

/**
 * @author xiaosai
 * @version 1.0
 * @date 2021/6/17 17:02
 * @describe
 * @className
 */
public enum UserEnum {
    LOGIN_OK("登录成功"),
    LOGIN_FAILED("登录失败"),
    ACCOUNT_PASSWORD_ERROR("账号或者密码错误"),
    LOGOUT_OK("登出成功"),
    LOGOUT_FAILED("登出失败，token为空"),
    ACCOUNT_IS_EXIST("当前账号已被其他用户注册，要不您换一个试试"),
    REGISTER_OK("注册成功"),
    REGISTER_FAILED("注册失败"),
    PASSWORD_ERROR("密码为空，请重试");
    private String msg;

    UserEnum(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
